local unitName  =  "armmakr"

local unitDef  =  {
--Internal settings
    buildpic = "ARMMAKR.DDS",
    Category = "UNKILLABLE",
    ObjectName = "armmakr.3do",
    name = "Resource Generator",
    Side = "TANKS",
    UnitName = "armmakr",
    script = "armmakr.cob",
    
--Unit limitations and properties
    BuildTime = 1000,
	activatewhenbuilt = true,
    Description = "Strategical unit",
    MaxDamage = 800,
    RadarDistance = 0,
    SightDistance = 400,
	yardmap = "ooooooooo",
	radardistance = 2100,
	buildangle = 8192,
	usebuildinggrounddecal = true,
	buildinggrounddecaldecayspeed = 30,
	buildinggrounddecalsizex = 5,
	buildinggrounddecalsizey = 5,
	buildinggrounddecaltype = "armmakr_aoplane.dds",	
    
--Energy and metal related
    BuildCostEnergy = 0,
    BuildCostMetal = 0,
	MetalMake = 6,
    
--Pathfinding and related
    Acceleration = 0,
    BrakeRate = 0,
    FootprintX = 3,
    FootprintZ = 3,
    MaxSlope = 10,
    MaxWaterDepth = 0,
    
--Abilities
    Builder = 0,
    CanAttack = 0,
    CanGuard = 0,
    CanMove = 0,
    CanPatrol = 0,
    CanStop = 0,
    LeaveTracks = 0,
    Reclaimable = 0,
	canSelfDestruct  = 0,
    
--Custom parameters
	customparams = {
		isobjective = "true",
		indestructible = "true",
	},
	
	sounds = {
		activate = "metlon1",
		canceldestruct = "cancel2",
		deactivate = "metloff1",
		underattack = "warning1",
		working = "metlrun1",
		count = {
			[1] = "count6",
			[2] = "count5",
			[3] = "count4",
			[4] = "count3",
			[5] = "count2",
			[6] = "count1",
		},
		select = {
			[1] = "metlon1",
		},
	},    
}

return lowerkeys({ [unitName]  =  unitDef })